package cn.hfatec.shms.web.ss.ssCustomer.dao;

import java.util.List;

import cn.hfatec.shms.web.ss.ssCustomer.model.SsCustomer;
import cn.hfatec.mybatis.mapper.SqlMapper;
import cn.hfatec.shms.web.yk.ykHsb.model.YkHsb;
import org.springframework.stereotype.Component;
import org.apache.ibatis.annotations.Param;

import cn.hfatec.shms.web.ss.ssCustomer.model.SsCustomerParams;

/**
 *
 * @author hfatec
 * @version 1.0
 *
 * the JAVA code is generate by middlegen
 *
 */
@Component("SsCustomerDao")
public interface SsCustomerDao extends SqlMapper {

    /**
     *
     * 查询数据
     *
    */
    public List querySsCustomer(@Param("params") SsCustomerParams params);
    public List querySsCustomerOrder();
    public List<SsCustomer> getZeroCustomer();
    public List<SsCustomer> getMonitorUpdate();

    public List<SsCustomer> getCustomer(@Param("testDate")String testDate,@Param("testEnd")String testEnd);
    /**
     *
     * 根据主键获取数据
     *
     */
    public SsCustomer getSsCustomerById(Integer id);

    /**
     *
     * 插入数据
     *
     */
    public void insert(SsCustomer ssCustomer);

    /**
     *
     * 删除数据
     *
     */
    public void delete(Integer id);

    /**
     *
     * 更新数据
     *
     */
    public void update(SsCustomer ssCustomer);
}
